﻿'use strict';
app.controller('measureUnitController', ['$scope', 'measureUnitService', function ($scope, measureUnitService) {

    $scope.list = [];

    measureUnitService.getList().then(function (results) {

        $scope.list = results.data;

    }, function (error) {
        //alert(error.data.message);
    });

}]);